<!-- 代码开始 -->
<div id="wansyb-sdh">
	<div class="wansyb-xf">
		<dl class="wansyb-login2">
			<ol><span class="ico"></span>
				<i class="arrow"></i>
			</ol>
<code>
	<?php if($_SESSION['is_login'] == '1'){?>
	<div class="sub-title"><?php echo $lang['nc_hello'];?>
		<span><a href="<?php echo urlShop('member_snsindex');?>"><?php echo $_SESSION['member_name'];?></a></span>
		<?php echo $lang['nc_comma'],$lang['welcome_to_site'];?>
		<a href="<?php echo SHOP_SITE_URL;?>"  title="<?php echo $lang['homepage'];?>" alt="<?php echo $lang['homepage'];?>">
			<span><?php echo $GLOBALS['setting_config']['site_name']; ?></span>
		</a>
		<span>[<a href="<?php echo urlShop('login','logout');?>"><?php echo $lang['nc_logout'];?></a>]</span>
	</div>
	<div class="wansyb-xq">
		<div class="wansyb-xq-img">
			<a href="<?php echo urlShop('member_snsindex');?>" target="_blank" nctype="mcard"> 
				<img src="<?php echo getMemberAvatarForID(isset($v['geval_frommemberid'])?$v['geval_frommemberid']:'');?>">
			</a>
		</div>

		<ul class="detail">
			<li><span class="user-name"><?php echo $_SESSION['member_name'];?></span>
				<time pubdate="pubdate"><?php echo $output['member_info']['available_predeposit'];?></time>
			</li>
			<li><span style="margin-right:5px"><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=home&op=message">站内消息(<span><?php echo $output['message_num']>0 ? $output['message_num']:'0';?></span>)</a></span>
				<span style="margin-right:5px"><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=member_order" class="arrow">我的订单</a></span><span><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=member_consult&op=my_consult">咨询回复(<span id="member_consult">0</span>)<i></i></a></span>
			</li>
			<li><span style="margin-right:5px"><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=member_favorites&op=fglist" class="arrow">我的收藏</a></span><?php if (C('voucher_allow') == 1){?><span style="margin-right:5px"><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=member_voucher">代金券(<span id="member_voucher">0</span>)</a></span><?php } ?><?php if (C('points_isuse') == 1){ ?>
				<span><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=member_points" class="arrow">我的积分</a></span><?php } ?></span>
				</li>
		</ul>
	</div><?php }else{?><div class="wansyb-cb-login-title">用户登入</div><?php include template('home/login_inajax');?><?php }?>
</code>

</dl><!--cart ks--><dl class="wansyb-cart"><ol><span class="ico"></span><h1 style="color:#000">购物车</h1>
<em class="addcart-goods-num"><?php echo $output['cart_goods_num']?:0;?></em><i class="arrow"></i>
</ol><code><div class="sub-title"><h4>最新加入的商品</h4></div><div class="incart-goods-box">
<div class="incart-goods"> <img class="loading" src="<?php echo SHOP_TEMPLATES_URL;?>/images/loading.gif"> </div></div>
<div class="checkout"> <span class="total-price">共<i class="addcart-goods-num"><?php echo $output['cart_goods_num'];?></i>种商品</span><a href="<?php echo SHOP_SITE_URL;?>/index.php?act=cart" class="btn-cart">结算购物车中的商品</a> </div>
</code></dl>
<!--购物车结束-->
<dl class="wansyb-searh"><ol>
<span class="ico"></span><i class="arrow"></i></ol><code><form action="<?php echo SHOP_SITE_URL;?>" method="get" class="search-form"><input name="act" id="search_act" value="search" type="hidden"><input name="keyword" id="keyword" type="text" class="input-text" value="<?php echo $_GET['keyword'];?>" maxlength="60" x-webkit-speech lang="zh-CN" onwebkitspeechchange="foo()" placeholder="请输入您要搜索的商品关键字" x-webkit-grammar="builtin:search" />
<input type="submit" id="button" value="<?php echo $lang['nc_common_search'];?>" class="input-submit"></form>
</code></dl>
<!--浏览记录-->
<!-- <dl class="wansyb-lljl"><ol><span class="ico"></span><i class="arrow"></i></ol>
<code><div class="wansyb-history"><div class="part-title"><h4>最近浏览的商品</h4></div>
<ul><li class="no-goods"><img class="loading" src="http://www.wxjia.cn/templates/default/images/loading.gif"></li></ul> </div>
</code></dl> -->
<!--历史记录end-->
</div>
<div class="wansyb-xf-down">
<?php if(defined('CHAT_SITE_URL') && !empty($output['seller_list']) && is_array($output['seller_list'])){?>
    <dl class="wansyb-im">
        <ol>
            <span class="ico"></span>
            <i class="arrow"></i>
        </ol>
        <code>您的在线客服IM未正确安装</code>
    </dl>
<?php }?>
<dl class="wansyb-sm"><ol><span class="ico"></span>
<i class="arrow"></i></ol><code><img src="/public/src/images/weixing.png"></code></dl>
<dl class="wansyb-top"><ol><a id="gotop" href="javascript:void(0)"><span class="ico"></span></a></ol></dl>
</div>